package com.calwen.xsmarthome.service;

import com.calwen.xsmarthome.bo.DeviceProperty;

import java.util.List;

/**
 * 米家服务
 * 获取设备ID "/home/device_list" <br>
 * 设置属性uri：/miotspec/prop/set <br>
 * 获取属性uri：/miotspec/prop/get <br>
 * 使用方法uri：/miotspec/action <br>
 */
public interface MjService {

    boolean setProperty(String id, List<DeviceProperty> o);

    Object getProperty(Object o);

    Object getHomeDeviceList(Object o);

    boolean doAction(Object o);

}
